<script>
	export default {
		onLaunch: function() {
			let userInfo = uni.getStorageSync('userInfo')
			this.$store.commit('setStorage',userInfo)
			const {
				token
			} = userInfo
			if (!token) {
				uni.reLaunch({
					url: './pages/login/login'
				})
			}
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	image,video{
		border-radius: 4rpx;overflow: hidden;
	}
	* {
		height: 100%;
		font-family: PingFang SC-Regular, PingFang SC;
		box-sizing: border-box !important;
		background-color: #f7f8fb !important;

	}

	/* #ifdef MP-WEIXIN */
	checkbox .wx-checkbox-input {
		border-radius: 50% !important;
		color: #ffffff !important;
		/* 	width: 26rpx;
		height: 26rpx; */
	}

	checkbox .wx-checkbox-input.wx-checkbox-input-checked {
		color: #fff;
		background: $public-oclor;
	}

	/* #endif */
</style>
